package com.xiaoxi.iteratormode.core;

/**
 * @Author xiaoxi
 * @ProjectName design_mode
 * @PackageName com.xiaoxi.iteratormode.core
 * @ClassName Iterator
 * @Description TODO
 * @Date 2023/3/7 10:52
 * @Version 1.0
 */
public interface Iterator {

    boolean hasNext();

    Object next();

    boolean hasPrevious();

    Object previous();

}
